fname=P3248
bname=bf
test=100

g++ $fname.cpp -o $fname -lm -O2 -std=c++14
g++ $bname.cpp -o $bname -lm -O2 -std=c++14

for i in `seq 1 $test`;
do 
	./make
	./$fname
	./$bname
	diff $fname.out $bname.out -w
	if [ $? == 0 ];
	then 
		echo Passed test $i!
	else
		echo Wa on test $i. /kk
		break
	fi
done
